import Vue from "vue";
import App from "./App.vue";
import "bootstrap/dist/css/bootstrap.css";
import "./fonts/iconfont.css";
// 导入axios
// import axios from "axios";
import "./api/index";
Vue.config.productionTip = false;
// 设置基础地址
Vue.directive("gfocus", {
  inserted(el) {
    el.focus(); // 触发标签的事件方法
  },
});
// axios.defaults.baseURL = "https://www.escook.cn"
// axios.defaults.baseURL = "https://www.escook.cn";
// Vue.prototype.$http = axios;
new Vue({
  render: (h) => h(App),
}).$mount("#app");
